/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 用户第三方认证表实体类
 *
 * @author BladeX
 * @since 2021-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BladeUserOauth对象", description = "用户第三方认证表")
public class BladeUserOauth extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 第三方系统用户ID
	 */
	@ApiModelProperty(value = "第三方系统用户ID")
	private String uuid;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	private Long userId;
	/**
	 * 账号
	 */
	@ApiModelProperty(value = "账号")
	private String username;
	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名")
	private String nickname;
	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像")
	private String avatar;
	/**
	 * 应用主页
	 */
	@ApiModelProperty(value = "应用主页")
	private String blog;
	/**
	 * 公司名
	 */
	@ApiModelProperty(value = "公司名")
	private String company;
	/**
	 * 地址
	 */
	@ApiModelProperty(value = "地址")
	private String location;
	/**
	 * 邮件
	 */
	@ApiModelProperty(value = "邮件")
	private String email;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 性别
	 */
	@ApiModelProperty(value = "性别")
	private String gender;
	/**
	 * 来源
	 */
	@ApiModelProperty(value = "来源")
	private String source;
	/**
	 * 手机
	 */
	@ApiModelProperty(value = "手机")
	private String phone;
	/**
	 * 真实姓名
	 */
	@ApiModelProperty(value = "真实姓名")
	private String realName;
	/**
	 * 所属单位
	 */
	@ApiModelProperty(value = "所属单位")
	private String units;
	/**
	 * 详细地址
	 */
	@ApiModelProperty(value = "详细地址")
	private String address;
	/**
	 * 企业密匙
	 */
	@ApiModelProperty(value = "企业密匙")
	private String programKey;
	/**
	 * 企业用户名
	 */
	@ApiModelProperty(value = "企业用户名")
	private String account;
}
